/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package group2assignone.ucm.manager;

import group2assignone.ucm.UCController;
import group2assignone.view.manager.EditAirportView;

/**
 * Use Case: Change UI to  edit airportiew                                  <br>
 * Pre-condition: user clicks the back button from edit airport view       .<br>
 * Post-condition: Manager edit airport View is displayed                   <br>
 * 1. system returns to the previous edit airport view                       <br>

 * @author group2
 */
public class UCEditAirportBack implements UCController
{
    private EditAirportView view;

    public UCEditAirportBack(EditAirportView view)
    {
        this.view = view;
    }
    public void run()
    {
        //1. system returns to the previos edit airport view
        view.showAirportList();
    }

}
